<template>
  <div id="app">
    <v2ex-head></v2ex-head>
    <div class="v2ex-content">
      <keep-alive>
        <transition>
          <router-view></router-view>
        </transition>
      </keep-alive>
    </div>
  </div>
</template>

<script>
  import V2exHead from "./components/Head";
  export default {
    components: {
      V2exHead
    },
    name: 'app',
  }
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: url("https://www.v2ex.com/static/img/shadow_light.png") repeat-x;
  }
  .v2ex-content{
    min-width: 600px;
    max-width: 1100px;
    margin: 0 auto 0 auto;
    width: 100%;
    padding-top: 30px;
  }
</style>
